#include <iostream>

#define LOG(x) std::cout << x << std::endl;

int main()
{
    int a = 5;
    int *b = &a;
    int &ref = a; // int& &在类型的旁边

    ref = 2;
    LOG(a);
}